<template>
  <el-container class="layout">
    <el-aside width="200px">
      <el-menu
        :default-active="$route.path"
        router
        class="sidebar-menu"
      >
        <el-menu-item index="/translations">
          <el-icon><Document /></el-icon>
          <span>翻译管理</span>
        </el-menu-item>
        <el-menu-item index="/package">
          <el-icon><Box /></el-icon>
          <span>打包工具</span>
        </el-menu-item>
      </el-menu>
    </el-aside>
    
    <el-main>
      <router-view />
    </el-main>
  </el-container>
</template>

<style scoped>
.layout {
  height: 100vh;
}

.sidebar-menu {
  height: 100%;
}
</style>
